ElasticPress\Feature\ProtectedContent\ProtectedContent S

Total Complexity 50
Dependencies 2
Dependents 1
Total lines 452
Lines of code 209
Logical lines of code 106
Comment lines 180
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
integrate()
A
48 10 33
integrate_comments_query()
A
54 8 21
remove_fields_from_password_protected()
S
52 6 26
exclude_protected_posts()
S
60 5 12
maybe_change_sort()
S
58 4 16
setup()
S
53 3 21
post_types()
S
54 2 23
requirements_status()
S
68 2 7
include_post_password()
S
71 2 5
set_settings_schema()
S
63 1 11
sync_password_protected()
S
82 1 3
__construct()
S
63 1 10
get_comment_statuses()
S
81 1 3
get_statuses()
S
72 1 5
output_feature_box_long()
S
74 1 5
query_password_protected_posts()
S
76 1 4
return_post_password()
S
77 1 4